package com.chixing.day20_annotation_jdk8;

import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD,ElementType.METHOD})
@Inherited
public @interface ValidateAge {
    int min() default  18;

    int max() default 99;

    int value() default 20;
}
